package com.wzy.server.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *用户登录实体类
 * </p>
 *传递前端的用户名和密码（不需要其他信息）
 * @author wzy
 * @since 2021-04-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)//get，set 的命名规则，链式连接
@ApiModel(value = "AdminLogin对象", description = "")//描述返回对象的意义
public class AdminLoginParam {

//    对象属性
    @ApiModelProperty(value = "用户名", required = true)
    private String username;

    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @ApiModelProperty(value = "验证码", required = true)
    private String Code;
}
